package org.exp3;

public class Course {
    private int courseid;
    private String coursename;
    private Float credits;
    private String hours;
    private String semester;
    private int CouPno;

    public Course(int courseid, String coursename, Float credits, String hours, String semester, int CouPno) {
        this.courseid = courseid;
        this.coursename = coursename;
        this.credits = credits;
        this.hours = hours;
        this.semester = semester;
        this.CouPno = CouPno;
    }

    public int getCourseid() {
        return courseid;
    }

    public void setCourseid(int courseid) {
        this.courseid = courseid;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public Float getCredits() {
        return credits;
    }

    public void setCredits(Float credits) {
        this.credits = credits;
    }

    public String getHours() {
        return hours;
    }

    public void setHours(String hours) {
        this.hours = hours;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public int getCouPno() {
        return CouPno;
    }

    public void setCouPno(int CouPno) {
        this.CouPno = CouPno;
    }

    public String toString() {
        return courseid + ' '
                + coursename + ' '
                + credits + ' '
                + hours + ' '
                + semester + ' '
                + CouPno + ' ';
    }

    public int getCouid() {
        return courseid;
    }
}
